package com.tsj.register;

import java.util.HashMap;
import java.util.Map;

/**
 * @Author tsj
 * @Date 2023/11/15/15:09
 */
public class LocalRegister {

    private static Map<String,Class> map = new HashMap<>();

    public static void register(String interfaceName,String version,Class implClass){
        map.put(interfaceName + version,implClass);
    }

    public static  Class getClass(String interfaceName,String version){
        return map.get(interfaceName + version);
    }
}
